package com.api.shopapi.service;

import com.alibaba.fastjson.JSONArray;
import com.api.shopapi.entity.ElderlyDrugRecord;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

/**
 * @author maochuan
 */
@Service
public interface ElderlyDrugRecordService {
    int insert(ElderlyDrugRecord elderlyDrugRecord);

    ElderlyDrugRecord getByElderlyDrugRecordCode(String elderlyDrugRecordCode);

    PageInfo<ElderlyDrugRecord> getPageList(int pageIndex, int pageSize, String institutionCode,
                                            String elderlyName, String startTime, String endTime);
}
